From 5c445c2f6dbd4e48712a5b6298c56df45f1ff158 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Mon, 6 Nov 2006 09:46:13 +0000 Subject: [PATCH] [HVM] Be sure to nul terminate uuids in HVM SMBIOS tables. Signed-off-by: Steven Smith --- tools/firmware/hvmloader/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/firmware/hvmloader/util.c b/tools/firmware/hvmloader/util.c index a03c0b621d..85cbcbe82f 100644 --- a/tools/firmware/hvmloader/util.c +++ b/tools/firmware/hvmloader/util.c @@ -227,4 +227,5 @@ uuid_to_string(char *dest, uint8_t *uuid) byte_to_hex(p, uuid[i]); p += 2; } + *p = 0; } -- 2.30.2